import request from "../../request.js";

/**
 * 订单详情
 * @param {Object} orderId 订单id
 */
function getPreOrderById(orderId) {
	return request({
		url: `/lejuClient/order/getPreOrderById/${orderId}`
	});
}
/**
 * 提交确认订单
 * @param {Object} data
 */
function addConfirmOrder(data) {
	return request({
		url: '/lejuClient/order/addConfirmOrder',
		method: "POST",
		data
	});
}



export {
	getPreOrderById,
	addConfirmOrder
}
